<?php
/**
 * Created by PhpStorm.
 * User: asus
 * Date: 2018/9/22
 * Time: 21:45
 */
include "Teacher.php";

echo "<h1>作业1</h1>";
$teacer = new Teacher();
$teacer->setName("姚XX");
$teacer->setAge(27);
$teacer->setSex("男");
$teacer->setCareer("教师");
$teacer->showInfo();

echo "<br>";
$teacer = new Teacher();
$teacer->setName("何XX");
$teacer->setAge(25);
$teacer->setSex("女");
$teacer->setCareer("教师");
$teacer->showInfo();

